﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Administrator tool - Login</title>
<link type="text/css" href="css/admin_login.css" rel="stylesheet"  />
<script language="javascript" type="text/javascript">
	function setFocus() {
		document.systemForm.username.focus();
	}
	function checkFrm(){
		if(document.systemForm.username.value == ""){
			alert("Please input your username! ");
			document.systemForm.username.focus();
			return false;
		}
		if(document.systemForm.password.value == ""){
			alert("Please input your password! ");
			document.systemForm.password.focus();
			return false;
		}
		return document.systemForm.submit();
	}
</script>
</head>

<body onload="setFocus();" >
<div id="ctr" align="center">
	<div class="login">
		<div class="login-form">
			<form method="post" name="systemForm"  action="">
                <div class="frmLogin">
                <h2>&nbsp;</h2>
                <table border="0" cellpadding="0" cellspacing="5" width="160px" height="78px">
                    <tr height="27px">
                        <td valign="top" height="27px" >Username</td>
                        <td height="27px"><input type="text" id="username" name="username" class="inputboxusr" height="27px"/></td>
                    </tr>
                    <tr>
                        <td valign="top"  height="27px">Password</td>
                        <td  height="27px"><input type="password" id="password" name="password" class="inputboxpwd" /></td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" height="24px">
                        <input type="image" src="images/btn_Signin.gif" class="btnSignIn" onclick="return checkFrm();" /></td>
                    </tr>
                </table>
                </div>
            </form>		
        </div>
		<div class="clr"></div>
	</div>
</div>
</body>
</html>